}
/**
- * Show the special page
- *
- * @param string $par Parameter passed to the page or null
+ * @param string|null $par Parameter passed to the page or null
*/
public function execute( $par ) {
$out = $this->getOutput();
protected function buildForm() {
$groups = User::getAllGroups();
+ $options = [];
foreach ( $groups as $group ) {
$msg = htmlspecialchars( UserGroupMembership::getGroupName( $group ) );
$options[$msg] = $group;
}
+ asort( $options );
// Backwards-compatibility with old URLs
$req = $this->getRequest();